projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9753bea
)
toolitemgroup: Fix the previous change
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 27 Oct 2015 16:53:43 +0000
(12:53 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 27 Oct 2015 16:54:19 +0000
(12:54 -0400)
dispose can be called more than once.
gtk/gtktoolitemgroup.c
patch
|
blob
|
history
diff --git
a/gtk/gtktoolitemgroup.c
b/gtk/gtktoolitemgroup.c
index 6d783788dc560e2ab0336f5aa86310f71882bcb8..1b734b55b70ca03bcffa34bb25b702125f6c2d2d 100644
(file)
--- a/
gtk/gtktoolitemgroup.c
+++ b/
gtk/gtktoolitemgroup.c
@@
-523,7
+523,8
@@
gtk_tool_item_group_dispose (GObject *object)
}
g_clear_object (&priv->settings);
- gtk_widget_destroy (priv->header);
+ if (priv->header)
+ gtk_widget_destroy (priv->header);
g_clear_object (&priv->header);
G_OBJECT_CLASS (gtk_tool_item_group_parent_class)->dispose (object);